package com.bocai.grainshop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bocai.common.utils.PageUtils;
import com.bocai.grainshop.product.entity.SpuInfoDescEntity;
import com.bocai.grainshop.product.entity.SpuInfoEntity;
import com.bocai.grainshop.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author SunJinBo
 * @email 2374461077@qq.com
 * @date 2022-03-01 17:02:35
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuVo);

    void BaseSaveSpuInfo(SpuInfoEntity spuInfoEntity);

    void BaseSaveSpuInfoDesc(SpuInfoDescEntity spuInfoDescEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId);

    SpuInfoEntity getSpuInfoBySpuId(Long skuId);

}

